package cn.shadow.entity;

import cn.shadow.bean.PlayerModule;
import lombok.Data;

/**
 * 连接的用户对象
 */
@Data
public class ConnectedUser {
    private User user;
    private long userId;
    private PlayerModule playerModule;

    public ConnectedUser(User user) {
        this.user = user;
        this.userId = user.getPlayerId();
    }
}
